package com.moxiao.yfjh.module.blind.controller.app.controller.user.vo;

import com.moxiao.yfjh.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @version 1.0
 * @Author zhk
 * @Date 2024/1/11 16:10
 **/

@Schema(description = "用户 APP - 手机 + 验证码登录 Request VO,如果登录并绑定社交用户，需要传递 social 开头的参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppBlindAuthLoginPassVO {

    @Schema(description = "用户账户")
    @NotEmpty(message = "用户账户不能为空")
    private String userName;

    @Schema(description = "用户密码")
    @NotEmpty(message = "用户密码不能为空")
    private String password;

}
